<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Geral - Cadastro de Pessoas F/J</title>

</head>

<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">

<fieldset>
<legend>
<font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
<b>Cadastro Pessoas F/J</b>
</font>
</legend>

<form action="#" method="post" name="form">
<table cellpadding="0" cellspacing="0" width="100%">
    <tr>
    <td valign="middle" height="8" colspan="2">
    </td>
    </tr>

    <tr>
    <td width="16%" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;Nome/Raz&atilde;o:</strong> 
    </font>
    </td>
    <td width="84%" align="left">
    &nbsp;
    <input type="text" name="busca"  size="40" title="Pesquise pelo nome" />
    </td>

    </tr>
    

    <tr>
    <td height="26" align="left" colspan="2">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;Tipo de Pessoa:</strong> 
    </font>
    &nbsp;
 
    <input name="pessoa" type="radio" id="f" value="1" checked="checked"/>
	&nbsp;
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>F&iacute;sica</strong> 
    </font>
	&nbsp;
    <input type="radio" name="pessoa" id="j" value="2"/>
	&nbsp;
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>Jur&iacute;dica</strong> 
    </font>
	&nbsp;
    <input name="pessoa" type="radio" id="t" value="0" checked="checked"/>
	&nbsp;
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>Todos</strong> 
    </font>    
    </td>
    </tr>
      
    <tr>
    <td height="26" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;Tipo de   <strong>Categorias</strong> :</strong> 
    </font>
    </td>
    <td align="left">
    &nbsp;
    <input type="text" size="33" name="gcategoria" id = "gcategoria" onclick="abre_grupos();" />
    <input type="hidden" size="5" name="idcategoria" id = "idcategoria" value="{idcategoria}" />
    <input type="button" value="Pesquisar" onClick="pesquisar_cadastro();">
    </td>
    
    </tr>     
    
    
    <tr>
    <td align="center" valign="middle" height="8">
    </td>
    </tr>
</table>
</form>
</fieldset>

<br />
<fieldset>
<div align="right">
<input type="button" value="Inserir Novo" onClick="novo_cadastro();">
&nbsp;
<input type="button" value="Editar" onClick="editar_cadastro();">
&nbsp;
<input type="button" value="Excluir" onClick="excluir_cadastro();">
</div>
</fieldset>
<br />

<fieldset>

<div id="lista" style="overflow:auto; height:280px; width:100%; border: 0px; background: #FFF;" >
<br />
<form action="#" method="post" name="form2">

<table cellpadding="0" cellspacing="0" width="98%">
<tr class="barra_titulo_consultas">
<td width="2%" height="30"></td>
<td width="4%" align="center" valign="middle">
<font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif">
<b>C&oacute;digo</b>
</font>
</td>
<td width="34%" valign="middle" align="left">
&nbsp;
<font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif">
<b>Nome/Raz&atilde;o</b>
</font>
</td>
<td width="20%" valign="middle" align="left">
&nbsp;
<font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif">
<b>Telefone Comercial</b>
</font>
</td>
<td width="30%" valign="middle" align="left" colspan="2">
&nbsp;
<font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif">
<b>E-mail</b>
</font>
</td>
</tr>

<!-- START BLOCK : LOOP -->
<tr style="background-color:{cor};" onMouseOver="javascript:this.style.backgroundColor='#dce3e9'" onMouseOut="javascript:this.style.backgroundColor='{cor}'">
	<td valign="middle" height="30">
    <center>
    <input type="checkbox" id="ck{cont}" name="ck{cont}" value="{par_id}" />
    </center>
    </td>
	<td title="{registros}">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
	<center>{id}</center>
    </font>
	</td>
	<td  align="left" title="{registros}">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    &nbsp; {nome}
    </font>
    </td>
	<td  align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    &nbsp; {telefone}
    </font>
    </td>
	<td  align="left" colspan="2">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    &nbsp; {email}
    </font>
    </td>        
</tr>
<!-- END BLOCK : LOOP -->
<tr>
	<td colspan="6">
    <br />
    <center> 
    {pag}
    </center>
    </td>
</tr>
</table>
</form>
</div>
</fieldset>

</body>
</html>
